import request from '/@/api/request'

/** 查询公司人员列表 */
export const requestGetUserList = (data: GetUserListTypes.IRequest) => {
  return request.post<IBaseResponse<GetUserListTypes.IResponse[]>>('/business/company/getUserList', data)
}
/** 获取当前用户所有的机构列表 */
export const requestGetUserCompanyList = (data: GetUserCompanyListTypes.IRequest) => {
  return request.post<IBaseResponse<GetUserCompanyListTypes.IResponse[]>>('/business/company/getUserCompanyList/V1', data)
}
